#include <stdio.h>
int main()
{double i;
 double a=0;
 double b=0;
 double c=0;
 for(i=1;i<=100;i++)
 {a=a+i;
 }
 for(i=1;i<=50;i++)
 {b=b+i*i;}
 for(i=1;i<=10;i++)
 {c=c+1/i;}
 printf("the sum is :%lf",a+b+c);
 return 0;
}
